package com.by.mapper;

import com.by.bean.Emp;
import com.by.common.crud.BaseMapper;
import com.by.query.EmpQuery;
import org.apache.ibatis.annotations.Mapper;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

@Mapper
public interface EmpMapper extends BaseMapper<Emp> {

    List<Map> query(EmpQuery query);
    /**
     * 删除用户
     * @param id
     * @return
     */
    int delete(Serializable id);
}
